]> dgit.raspbian.org Git - gnome-shell.git/commit
Magnifier: don't listen for focus/tracker events if the magnifier is not active
authorGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 13 Feb 2014 15:25:24 +0000 (16:25 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 13 Feb 2014 18:43:41 +0000 (19:43 +0100)
commit3a92aa751fb0517e48e7320159b71196428a7e97
treed0e5768d68a6eaaa35424cce871863f7ab143762
parent6882273aa0ea8bfbe9c961e1a9f29d5ff71789d7
Magnifier: don't listen for focus/tracker events if the magnifier is not active

In addition to checking the current settings, check also if the
zoom region is active before registering the event listener.
This way, we avoid DBus traffic for events we're not interested in.

Also, make FocusCaretTracker resilient to multiple register/deregister
calls (which can now happen).

https://bugzilla.gnome.org/show_bug.cgi?id=724305
js/ui/focusCaretTracker.js
js/ui/magnifier.js